Skip to content

MinGW: Enable C++ threads with mcfgthreads for 19.09#73265

Merged
Ericson2314 merged 10 commits intoNixOS:release-19.09from
Ericson2314:mingw-mcfthreads
Nov 12, 2019
Merged

MinGW: Enable C++ threads with mcfgthreads for 19.09#73265
Ericson2314 merged 10 commits intoNixOS:release-19.09from
Ericson2314:mingw-mcfthreads

Conversation

@Ericson2314
Copy link
Member

Motivation for this change

Backport of #73195

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

It is needed for the `-municode` flag, supposedly.
Also deduplicate more of the GCC derivations.
Currently this is set up to be mcfgthreads, but it could be something
else instead.
Seems to build just fine without it, maybe it was just using C++ threads
which mcfgthread provides?
Working around broken build for now.
I think those deps could be made to build, but I didn't want to get
bogged down investigating further. "Use flags" are always a good thing,
so this is fine for now.
@ofborg ofborg bot added the 6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) label Nov 12, 2019
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Nov 12, 2019
@Ericson2314 Ericson2314 merged commit ef8c34c into NixOS:release-19.09 Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant